

class RegistData {
  int? recordId;
  String? accessToken;
  String? userId;

  RegistData({this.recordId, this.accessToken, this.userId});

  RegistData.fromJson(Map<String, dynamic> json) {
    if(json["recordId"] is int) {
      recordId = json["recordId"];
    }
    if(json["accessToken"] is String) {
      accessToken = json["accessToken"];
    }
    if(json["userId"] is String) {
      userId = json["userId"];
    }
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> _data = <String, dynamic>{};
    _data["recordId"] = recordId;
    _data["accessToken"] = accessToken;
    _data["userId"] = userId;
    return _data;
  }
}